package com.pengshun.modules.api.user.para;

import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Second;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CarPara {

    private Long userId;
    @NotNull(message = "status不能为空", groups = {First.class, Second.class})
    private  Integer status;
    @NotNull(message = "page不能为空", groups = {First.class})
    private  Integer page;
    @NotNull(message = "size不能为空", groups = {First.class})
    private  Integer size;
}
